|
||||||||||
| 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 | |
|---|---|
String |
deployServiceAssembly(String file,
boolean deferException)
Deploys a Service Assembly. |
void |
destroy()
|
Deployer |
getDeployer()
|
DeploymentService |
getDeploymentService()
|
InstallationService |
getInstallationService()
|
String |
getMainType()
|
String |
getName()
|
String |
getParent()
|
Class |
getPrimaryInterface()
|
String |
getSubType()
|
String |
getVersion()
|
void |
init()
|
String |
installComponent(String file,
Properties props,
boolean deferException)
Install a JBI component (a Service Engine or Binding Component) |
String |
installSharedLibrary(String file,
boolean deferException)
Installs a Shared Library. |
String |
listComponents(boolean excludeSEs,
boolean excludeBCs,
boolean excludePojos,
String requiredState,
String sharedLibraryName,
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 |
String |
listServiceAssemblies(String state,
String componentName,
String serviceAssemblyName)
Prints information about service assemblies deployed. |
String |
listSharedLibraries(String componentName,
String sharedLibraryName)
Prints information about shared libraries installed. |
void |
setDeployer(Deployer deployer)
|
void |
setDeploymentService(DeploymentService deploymentService)
|
void |
setInstallationService(InstallationService installationService)
|
String |
shutdownComponent(String name)
Shuts down a particular Component. |
String |
shutdownServiceAssembly(String name)
Shuts down a particular service assembly. |
String |
startComponent(String name)
Starts a particular Component (Service Engine or Binding Component). |
String |
startServiceAssembly(String name)
Starts a service assembly. |
String |
stopComponent(String name)
Stops a particular Component (Service Engine or Binding Component). |
String |
stopServiceAssembly(String name)
Stops a particular service assembly. |
String |
undeployServiceAssembly(String name)
Undeploys a previously deployed service assembly. |
String |
uninstallComponent(String name)
Uninstalls a previously install JBI Component (a Service Engine or Binding Component) |
String |
uninstallSharedLibrary(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 String installComponent(String file,
Properties props,
boolean deferException)
throws Exception
installComponent in interface AdminCommandsServicefile - jbi component archive to installprops - installation properties
Exception
public String uninstallComponent(String name)
throws Exception
uninstallComponent in interface AdminCommandsServicename -
Exception
public String installSharedLibrary(String file,
boolean deferException)
throws Exception
installSharedLibrary in interface AdminCommandsServicefile -
Exception
public String uninstallSharedLibrary(String name)
throws Exception
uninstallSharedLibrary in interface AdminCommandsServicename -
Exception
public String startComponent(String name)
throws Exception
startComponent in interface AdminCommandsServicename -
Exception
public String stopComponent(String name)
throws Exception
stopComponent in interface AdminCommandsServicename -
Exception
public String shutdownComponent(String name)
throws Exception
shutdownComponent in interface AdminCommandsServicename -
Exception
public String deployServiceAssembly(String file,
boolean deferException)
throws Exception
deployServiceAssembly in interface AdminCommandsServicefile -
Exception
public String undeployServiceAssembly(String name)
throws Exception
undeployServiceAssembly in interface AdminCommandsServicename -
Exception
public String startServiceAssembly(String name)
throws Exception
startServiceAssembly in interface AdminCommandsServicename -
Exception
public String stopServiceAssembly(String name)
throws Exception
stopServiceAssembly in interface AdminCommandsServicename -
Exception
public String shutdownServiceAssembly(String name)
throws Exception
shutdownServiceAssembly in interface AdminCommandsServicename -
Exception
public String listComponents(boolean excludeSEs,
boolean excludeBCs,
boolean excludePojos,
String requiredState,
String sharedLibraryName,
String serviceAssemblyName)
throws Exception
listComponents in interface AdminCommandsServiceexcludeSEs - excludeBCs - requiredState - sharedLibraryName - serviceAssemblyName -
Exception
public String listSharedLibraries(String componentName,
String sharedLibraryName)
throws Exception
listSharedLibraries in interface AdminCommandsServicecomponentName - sharedLibraryName -
Exception
public String listServiceAssemblies(String state,
String componentName,
String serviceAssemblyName)
throws Exception
listServiceAssemblies in interface AdminCommandsServicestate - componentName - serviceAssemblyName -
Exception
public void init()
throws Exception
Exception
public void destroy()
throws Exception
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 String getParent()
getParent in interface org.apache.servicemix.nmr.management.Nameablepublic String getName()
getName in interface org.apache.servicemix.nmr.management.Nameablepublic String getMainType()
getMainType in interface org.apache.servicemix.nmr.management.Nameablepublic String getSubType()
getSubType in interface org.apache.servicemix.nmr.management.Nameablepublic Class getPrimaryInterface()
getPrimaryInterface in interface org.apache.servicemix.nmr.management.Nameablepublic String getVersion()
getVersion in interface org.apache.servicemix.nmr.management.Nameable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||