Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » system » server » profileservice » [javadoc | source]
org.jboss.system.server.profileservice
public class: ProfileServiceBootstrap [javadoc | source]
java.lang.Object
   org.jboss.system.server.profileservice.ProfileServiceBootstrap

All Implemented Interfaces:
    Bootstrap

Bootstraps the profile service
Field Summary
protected  String profileName    The name of the profile that is being booted 
protected  MainDeployer mainDeployer    The server MainDeployer 
protected  ProfileService profileService    The server ProfileService 
protected  Kernel kernel    The kernel 
Constructor:
 public ProfileServiceBootstrap() 
Method from org.jboss.system.server.profileservice.ProfileServiceBootstrap Summary:
getBean,   getKernel,   getMainDeployer,   getProfileService,   loadProfile,   prepareShutdown,   setKernel,   shutdown,   start,   unload,   unloadProfile
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.system.server.profileservice.ProfileServiceBootstrap Detail:
 protected T getBean(KernelController controller,
    Object name,
    Class expectedType) 
    Get a bean
 public Kernel getKernel() 
    Get the kernel.
 public MainDeployer getMainDeployer() 
    Return the MainDeployer bean.
 public ProfileService getProfileService() 
    Return the ProfileService bean.
 protected  void loadProfile(String name) throws Exception 
    Load the deployments associated with the named profile and deploy them using the MainDeployer.
 public  void prepareShutdown(Server server) 
 public  void setKernel(Kernel kernel) 
    Set the kernel.
 public  void shutdown(Server server) 
 public  void start(Server server) throws Exception 
 protected  void unload(MainDeployer deployer,
    Collection deployments) 
    Unload a set of deployments
 protected  void unloadProfile(String name) 
    Unload the deployments associated with the named profile and undeploy them using the MainDeployer in reverse phase order.