org.apache.servicemix.jbi.framework
Interface AdminCommandsServiceMBean

All Superinterfaces:
javax.jbi.management.LifeCycleMBean
All Known Implementing Classes:
AdminCommandsService

public interface AdminCommandsServiceMBean
extends javax.jbi.management.LifeCycleMBean

Provides a simple interface to access ServiceMix administration commands.

Version:
$Revision: 657 $

Field Summary
 
Fields inherited from interface javax.jbi.management.LifeCycleMBean
SHUTDOWN, STARTED, STOPPED, UNKNOWN
 
Method Summary
 String deployServiceAssembly(String file, boolean deferException)
           
 String installArchive(String location)
           
 String installComponent(String file, Properties properties, boolean deferException)
           
 String installSharedLibrary(String file, boolean deferException)
           
 String listComponents(boolean excludeSEs, boolean excludeBCs, boolean excludePojos, String requiredState, String sharedLibraryName, String serviceAssemblyName)
           
 String listServiceAssemblies(String state, String componentName, String serviceAssemblyName)
           
 String listSharedLibraries(String componentName, String sharedLibraryName)
           
 String shutdownComponent(String name)
           
 String shutdownServiceAssembly(String name)
           
 String startComponent(String name)
           
 String startServiceAssembly(String name)
           
 String stopComponent(String name)
           
 String stopServiceAssembly(String name)
           
 String undeployServiceAssembly(String name)
           
 String uninstallComponent(String name)
           
 String uninstallSharedLibrary(String name)
           
 
Methods inherited from interface javax.jbi.management.LifeCycleMBean
getCurrentState, shutDown, start, stop
 

Method Detail

installComponent

String installComponent(String file,
                        Properties properties,
                        boolean deferException)
                        throws Exception
Throws:
Exception

uninstallComponent

String uninstallComponent(String name)
                          throws Exception
Throws:
Exception

installSharedLibrary

String installSharedLibrary(String file,
                            boolean deferException)
                            throws Exception
Throws:
Exception

uninstallSharedLibrary

String uninstallSharedLibrary(String name)
                              throws Exception
Throws:
Exception

startComponent

String startComponent(String name)
                      throws Exception
Throws:
Exception

stopComponent

String stopComponent(String name)
                     throws Exception
Throws:
Exception

shutdownComponent

String shutdownComponent(String name)
                         throws Exception
Throws:
Exception

deployServiceAssembly

String deployServiceAssembly(String file,
                             boolean deferException)
                             throws Exception
Throws:
Exception

undeployServiceAssembly

String undeployServiceAssembly(String name)
                               throws Exception
Throws:
Exception

startServiceAssembly

String startServiceAssembly(String name)
                            throws Exception
Throws:
Exception

stopServiceAssembly

String stopServiceAssembly(String name)
                           throws Exception
Throws:
Exception

shutdownServiceAssembly

String shutdownServiceAssembly(String name)
                               throws Exception
Throws:
Exception

installArchive

String installArchive(String location)
                      throws Exception
Throws:
Exception

listComponents

String listComponents(boolean excludeSEs,
                      boolean excludeBCs,
                      boolean excludePojos,
                      String requiredState,
                      String sharedLibraryName,
                      String serviceAssemblyName)
                      throws Exception
Throws:
Exception

listSharedLibraries

String listSharedLibraries(String componentName,
                           String sharedLibraryName)
                           throws Exception
Throws:
Exception

listServiceAssemblies

String listServiceAssemblies(String state,
                             String componentName,
                             String serviceAssemblyName)
                             throws Exception
Throws:
Exception


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.