|
BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.security.AppConfig
The AppConfig
class is a representation of the configuration of your Java application.
You pass an AppConfig
object into the
security runtime instance when you initialize it. The AppConfig
object is used to configure the
security runtime based upon the
configuration of your application. This object includes a name for the runtime application,
which can be used for monitoring purposes, and it also provides a method for
adding an XML file that contains naming authority definitions.
On initialization of the security runtime instance, the XML file is loaded into the Naming
Authority Manager.
Constructor Summary | |
AppConfig()
Constructs an application configuration object with default values. |
|
AppConfig(java.lang.String applicationname)
Constructs an application configuration object and sets the name of the application using the security runtime. |
Method Summary | |
void |
addNameAuthorityDefinitionFile(java.lang.String filespec)
Adds an xml file that contains naming authority definitions to the configuration object. |
java.lang.String |
getApplicationName()
Gets the name of the application from the configuration object. |
void |
setApplicationName(java.lang.String applicationname)
Sets the name of the application in this configuration object. |
void |
setServiceControlManagerPort(int port)
Sets the port used by the Service Control Manager. |
void |
useConfiguration(java.lang.String configurationname)
Indicate which configurations we need to retrieve from the configuration repository. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AppConfig()
public AppConfig(java.lang.String applicationname)
applicationname
- the name of the application using this runtime.Method Detail |
public void setApplicationName(java.lang.String applicationname)
applicationname
- the name of the application using this security runtime.public void setServiceControlManagerPort(int port)
port
- the port the SCM listens on for the runtime to get its settings.public void useConfiguration(java.lang.String configurationname)
configurationname
- the name of the configuration to retrieve from the repository.public java.lang.String getApplicationName()
public void addNameAuthorityDefinitionFile(java.lang.String filespec) throws java.io.FileNotFoundException
|
Documentation is available at http://edocs.bea.com/ales/docs25 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |