java.lang.Object | |
↳ | com.atlassian.configurable.XMLObjectConfigurationFactory |
This class retrieves an Object Configuration with a particular id. The Object Configuration must be unique as a user will set there own parameters on the object during its lifetime.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new XMLObjectConfigurationFactory object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This function retrieves an ObjectConfiguration based on a specified identifier,
N.B.
| |||||||||||
Does this factory know about an ObjectConfiguration with the specified id
| |||||||||||
This procedure loads an xml file into a holder object which is then used to contruct a real
object when the get function is called.
| |||||||||||
This procedure loads an xml file into a holder object which is then used to contruct a real
object when the get function is called.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||
From interface
com.atlassian.configurable.ObjectConfigurationFactory
|
Creates a new XMLObjectConfigurationFactory object.
This function retrieves an ObjectConfiguration based on a specified identifier, N.B. must be mutable
id | Identifier for the object configuration to retrieve. |
---|
ObjectConfigurationException |
---|
Does this factory know about an ObjectConfiguration with the specified id
id | Identifier for the object configuration to retrieve. |
---|
This procedure loads an xml file into a holder object which is then used to contruct a real object when the get function is called. Uses the same class loader that loaded this instance of XMLObjectConfigurationFactory to load the xml file and descriptor classes.
xmlFile | the name of the resource on the classpath from which to load the config. |
---|---|
id | Identifier for the object configuration to retrieve. |
ObjectConfigurationException | if something is really wrong |
---|
This procedure loads an xml file into a holder object which is then used to contruct a real object when the get function is called. Uses the provided class loader to load the xml file and descriptor classes.
xmlFile | the name of the resource on the classpath from which to load the config. |
---|---|
id | Identifier for the object configuration to retrieve. |
classLoader | ClassLoader to use to load ObjectDescriptor classes and the xml file |
ObjectConfigurationException | if something is really wrong |
---|