|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defintion of a system context that exposes a system wide set of parameters.
Method Summary | |
SystemContext |
createSystemContext()
Creation of a new system context using supplied and default values. |
void |
setAnchorDirectory(File anchor)
Set the anchor directory. |
void |
setDefaultDeploymentTimeout(long timeout)
Set the system wide default deployment timeout. |
void |
setGrantsTable(Map grants)
Set the initial grants table. |
void |
setLifestyleArtifact(Artifact artifact)
Set the lifestyle factory using a supplied artifact. |
void |
setLoggingManager(LoggingManager logging)
Set the logging manager. |
void |
setName(String name)
Set the name of the logging channel to be used by the system context. |
void |
setParentContext(Context context)
Set the parent context. |
void |
setRepository(Repository repository)
Set the application repository. |
void |
setRuntime(Artifact artifact)
Set the runtime using a supplied artifact. |
void |
setRuntime(Class clazz)
Set the runtime using a supplied class. |
void |
setSecurityEnabled(boolean secure)
Set the security enabled status. |
void |
setSecurityProfiles(SecurityProfile[] profiles)
Set the security profiles. |
void |
setTemporaryDirectory(File temp)
Set the temporary directory. |
void |
setTraceEnabled(boolean trace)
Set the system trace flag. |
void |
setWorkingDirectory(File work)
Set the working directory. |
Method Detail |
public void setSecurityEnabled(boolean secure)
secure
- the security enabled flagpublic void setParentContext(Context context)
context
- a parent context instancepublic void setRuntime(Artifact artifact)
artifact
- a factory artifact supporting
Runtime
instance creation.Runtime
,
setRuntime( Class )
public void setLifestyleArtifact(Artifact artifact)
artifact
- a factory artifact supporting
LifestyleFactory
instance creation.Runtime
,
setRuntime( Class )
public void setRuntime(Class clazz)
clazz
- a runtime implementation classRuntime
public void setRepository(Repository repository)
repository
- the application repositorypublic void setLoggingManager(LoggingManager logging)
logging
- the logging managerpublic void setDefaultDeploymentTimeout(long timeout)
timeout
- the timeout value in millisecondspublic void setTraceEnabled(boolean trace)
trace
- the trace flagpublic void setSecurityProfiles(SecurityProfile[] profiles)
profiles
- the security profilespublic void setGrantsTable(Map grants)
grants
- the initial grants tablepublic void setWorkingDirectory(File work)
work
- the working directorypublic void setTemporaryDirectory(File temp)
temp
- the temporary directorypublic void setAnchorDirectory(File anchor)
anchor
- the anchor directorypublic void setName(String name)
name
- the name to assignpublic SystemContext createSystemContext() throws SystemException
SystemException
- if a stytem context creation error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |