|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDeploymentManager
Handles the deployment of portal resources.
All methods in this manager execute in their own transaction.
Method Summary | |
---|---|
ModuleType |
detectModuleType(InputStream moduleArchive)
Detects the module type of an archive, based on its contents. |
IModule |
distribute(String moduleId,
InputStream moduleArchive)
Distributes a module archive to the portal servers. |
Class<?> |
getClass(String className)
Returns the Class object associated with the class or
interface with the given string name, within the deployed JAR library
modules or the shared level class loader. |
IModule |
getModule(String moduleId)
Returns the module with the specified identifier. |
Collection<IModule> |
getModules(ModuleType moduleType)
Returns the currently installed modules of the specified type. |
IPortalDeployer |
getPortalDeployer(DeployConfig deployConfig)
Deprecated. Since 5.0.0 the use of IPortalDeployer
has been deprecated. |
void |
init()
Initializes the deployment manager. |
void |
registerDeployer(IPortalDeployer deployer)
Deprecated. Since 5.0.0 the use of IPortalDeployer
has been deprecated. |
void |
start(IModule module)
Starts the execution of a module. |
void |
stop(IModule module)
Stops the execution of a module. |
void |
undeploy(IModule module)
Undeploys a module from the portal servers. |
boolean |
unregisterDeployer(IPortalDeployer deployer)
Deprecated. Since 5.0.0 the use of IPortalDeployer
has been deprecated. |
Method Detail |
---|
@Deprecated void registerDeployer(IPortalDeployer deployer)
IPortalDeployer
has been deprecated.
deployer
- the deployer.@Deprecated boolean unregisterDeployer(IPortalDeployer deployer)
IPortalDeployer
has been deprecated.
deployer
- the deployer.
@Deprecated IPortalDeployer getPortalDeployer(DeployConfig deployConfig) throws PortalException
IPortalDeployer
has been deprecated.
deployConfig
- the deployment specification.
PortalException
- if there is no deployer that can handle the
specified deployment.void init()
Class<?> getClass(String className) throws ClassNotFoundException
Class
object associated with the class or
interface with the given string name, within the deployed JAR library
modules or the shared level class loader.
className
- the fully qualified name of the desired class.
Class
object for the class with the specified name.
ClassNotFoundException
- if the class cannot be located.Class#forName(String)}
ModuleType detectModuleType(InputStream moduleArchive) throws IOException, IllegalModuleArchiveException, PortalException
moduleArchive
- the archive content input stream.
IOException
- if an I/O error occurs.
IllegalModuleArchiveException
- if the archive module type
could not be recognized.
PortalException
IModule distribute(String moduleId, InputStream moduleArchive) throws IOException, IllegalModuleArchiveException, PortalException
moduleId
- the identifier for the module being deployed.moduleArchive
- the module archive input stream.
IOException
- if an I/O error occurs.
IllegalModuleArchiveException
- if the archive module type
could not be recognized.
PortalException
void start(IModule module) throws PortalException
module
- the module.
PortalException
void stop(IModule module) throws PortalException
module
- the module.
PortalException
void undeploy(IModule module) throws PortalException
module
- the module to be undeployed.
PortalException
Collection<IModule> getModules(ModuleType moduleType) throws PortalException
moduleType
- the module type.
PortalException
IModule getModule(String moduleId) throws PortalException
moduleId
- the module identifier.
PortalObjectNotFoundException
- if no module with the given
identifier was found.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |