|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jbi.deployer.impl.AdminCommandsImpl
public class AdminCommandsImpl
| Constructor Summary | |
|---|---|
AdminCommandsImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
deployServiceAssembly(java.lang.String file,
boolean deferException)
Deploys a Service Assembly. |
void |
destroy()
|
Deployer |
getDeployer()
|
DeploymentService |
getDeploymentService()
|
InstallationService |
getInstallationService()
|
java.lang.String |
getMainType()
|
java.lang.String |
getName()
|
java.lang.String |
getParent()
|
java.lang.Class |
getPrimaryInterface()
|
java.lang.String |
getSubType()
|
java.lang.String |
getVersion()
|
void |
init()
|
java.lang.String |
installComponent(java.lang.String file,
java.util.Properties props,
boolean deferException)
Install a JBI component (a Service Engine or Binding Component) |
java.lang.String |
installSharedLibrary(java.lang.String file,
boolean deferException)
Installs a Shared Library. |
java.lang.String |
listComponents(boolean excludeSEs,
boolean excludeBCs,
boolean excludePojos,
java.lang.String requiredState,
java.lang.String sharedLibraryName,
java.lang.String serviceAssemblyName)
Prints information about all components (Service Engine or Binding Component) installedServiceReference[] refs = getAdminService().getComponentServiceReferences(filter); if (excludeBCs && excludeSEs) { refs = new ServiceReference[0]; } List |
java.lang.String |
listServiceAssemblies(java.lang.String state,
java.lang.String componentName,
java.lang.String serviceAssemblyName)
Prints information about service assemblies deployed. |
java.lang.String |
listSharedLibraries(java.lang.String componentName,
java.lang.String sharedLibraryName)
Prints information about shared libraries installed. |
void |
setDeployer(Deployer deployer)
|
void |
setDeploymentService(DeploymentService deploymentService)
|
void |
setInstallationService(InstallationService installationService)
|
java.lang.String |
shutdownComponent(java.lang.String name)
Shuts down a particular Component. |
java.lang.String |
shutdownServiceAssembly(java.lang.String name)
Shuts down a particular service assembly. |
java.lang.String |
startComponent(java.lang.String name)
Starts a particular Component (Service Engine or Binding Component). |
java.lang.String |
startServiceAssembly(java.lang.String name)
Starts a service assembly. |
java.lang.String |
stopComponent(java.lang.String name)
Stops a particular Component (Service Engine or Binding Component). |
java.lang.String |
stopServiceAssembly(java.lang.String name)
Stops a particular service assembly. |
java.lang.String |
undeployServiceAssembly(java.lang.String name)
Undeploys a previously deployed service assembly. |
java.lang.String |
uninstallComponent(java.lang.String name)
Uninstalls a previously install JBI Component (a Service Engine or Binding Component) |
java.lang.String |
uninstallSharedLibrary(java.lang.String name)
Uninstalls a previously installed Shared Library. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminCommandsImpl()
| Method Detail |
|---|
public java.lang.String installComponent(java.lang.String file,
java.util.Properties props,
boolean deferException)
throws java.lang.Exception
installComponent in interface AdminCommandsServicefile - jbi component archive to installprops - installation properties
java.lang.Exception
public java.lang.String uninstallComponent(java.lang.String name)
throws java.lang.Exception
uninstallComponent in interface AdminCommandsServicename -
java.lang.Exception
public java.lang.String installSharedLibrary(java.lang.String file,
boolean deferException)
throws java.lang.Exception
installSharedLibrary in interface AdminCommandsServicefile -
java.lang.Exception
public java.lang.String uninstallSharedLibrary(java.lang.String name)
throws java.lang.Exception
uninstallSharedLibrary in interface AdminCommandsServicename -
java.lang.Exception
public java.lang.String startComponent(java.lang.String name)
throws java.lang.Exception
startComponent in interface AdminCommandsServicename -
java.lang.Exception
public java.lang.String stopComponent(java.lang.String name)
throws java.lang.Exception
stopComponent in interface AdminCommandsServicename -
java.lang.Exception
public java.lang.String shutdownComponent(java.lang.String name)
throws java.lang.Exception
shutdownComponent in interface AdminCommandsServicename -
java.lang.Exception
public java.lang.String deployServiceAssembly(java.lang.String file,
boolean deferException)
throws java.lang.Exception
deployServiceAssembly in interface AdminCommandsServicefile -
java.lang.Exception
public java.lang.String undeployServiceAssembly(java.lang.String name)
throws java.lang.Exception
undeployServiceAssembly in interface AdminCommandsServicename -
java.lang.Exception
public java.lang.String startServiceAssembly(java.lang.String name)
throws java.lang.Exception
startServiceAssembly in interface AdminCommandsServicename -
java.lang.Exception
public java.lang.String stopServiceAssembly(java.lang.String name)
throws java.lang.Exception
stopServiceAssembly in interface AdminCommandsServicename -
java.lang.Exception
public java.lang.String shutdownServiceAssembly(java.lang.String name)
throws java.lang.Exception
shutdownServiceAssembly in interface AdminCommandsServicename -
java.lang.Exception
public java.lang.String listComponents(boolean excludeSEs,
boolean excludeBCs,
boolean excludePojos,
java.lang.String requiredState,
java.lang.String sharedLibraryName,
java.lang.String serviceAssemblyName)
throws java.lang.Exception
listComponents in interface AdminCommandsServiceexcludeSEs - excludeBCs - requiredState - sharedLibraryName - serviceAssemblyName -
java.lang.Exception
public java.lang.String listSharedLibraries(java.lang.String componentName,
java.lang.String sharedLibraryName)
throws java.lang.Exception
listSharedLibraries in interface AdminCommandsServicecomponentName - sharedLibraryName -
java.lang.Exception
public java.lang.String listServiceAssemblies(java.lang.String state,
java.lang.String componentName,
java.lang.String serviceAssemblyName)
throws java.lang.Exception
listServiceAssemblies in interface AdminCommandsServicestate - componentName - serviceAssemblyName -
java.lang.Exception
public void init()
throws java.lang.Exception
java.lang.Exception
public void destroy()
throws java.lang.Exception
java.lang.Exceptionpublic void setInstallationService(InstallationService installationService)
public InstallationService getInstallationService()
public void setDeploymentService(DeploymentService deploymentService)
public DeploymentService getDeploymentService()
public Deployer getDeployer()
public void setDeployer(Deployer deployer)
public java.lang.String getParent()
getParent in interface Nameablepublic java.lang.String getName()
getName in interface Nameablepublic java.lang.String getMainType()
getMainType in interface Nameablepublic java.lang.String getSubType()
getSubType in interface Nameablepublic java.lang.Class getPrimaryInterface()
getPrimaryInterface in interface Nameablepublic java.lang.String getVersion()
getVersion in interface Nameable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||