org.ow2.petals.kernel.server
Class PetalsServerImpl

java.lang.Object
  extended by org.ow2.petals.kernel.server.PetalsServerImpl
All Implemented Interfaces:
org.ow2.petals.kernel.api.server.PetalsServer

public class PetalsServerImpl
extends java.lang.Object
implements org.ow2.petals.kernel.api.server.PetalsServer

This class allows to start and stop the Petals Server.

Author:
rnaudin - eBMWebsourcing

Field Summary
 
Fields inherited from interface org.ow2.petals.kernel.api.server.PetalsServer
INSTALL_DIRECTORY, INSTALLED_DIRECTORY, WORK_DIRECTORY
 
Constructor Summary
PetalsServerImpl()
          Creates a new instance of PetalsServerImpl
PetalsServerImpl(boolean observer)
          Creates a new instance of PetalsServerImpl
 
Method Summary
 java.lang.String browseJNDI()
           
 java.lang.String getContainerConfiguration()
           
 java.util.List<org.ow2.petals.kernel.api.service.ServiceEndpoint> getServiceEndpoints(boolean global)
          
 void init()
          Initialize the PEtALS environment.
 void start()
          Start the Petals Server.
 void stop()
           
 void synchronizeRegistry()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PetalsServerImpl

public PetalsServerImpl()
                 throws org.ow2.petals.kernel.api.server.PetalsException
Creates a new instance of PetalsServerImpl

Throws:
org.ow2.petals.kernel.api.server.PetalsException

PetalsServerImpl

public PetalsServerImpl(boolean observer)
                 throws org.ow2.petals.kernel.api.server.PetalsException
Creates a new instance of PetalsServerImpl

Throws:
org.ow2.petals.kernel.api.server.PetalsException
Method Detail

init

public void init()
          throws org.ow2.petals.kernel.api.server.PetalsException
Initialize the PEtALS environment. Init Qname, JMX, Monolog, Fractal.

Specified by:
init in interface org.ow2.petals.kernel.api.server.PetalsServer
Throws:
org.ow2.petals.kernel.api.server.PetalsException
See Also:
PetalsServer.init()

start

public void start()
           throws org.ow2.petals.kernel.api.server.PetalsException
Start the Petals Server. Start the fractal components. Register the different component, then try to recover the Petals container.

Specified by:
start in interface org.ow2.petals.kernel.api.server.PetalsServer
Throws:
org.ow2.petals.kernel.api.server.PetalsException
See Also:
PetalsServer.start()

stop

public void stop()
          throws org.ow2.petals.kernel.api.server.PetalsException
Specified by:
stop in interface org.ow2.petals.kernel.api.server.PetalsServer
Throws:
org.ow2.petals.kernel.api.server.PetalsException

getContainerConfiguration

public java.lang.String getContainerConfiguration()
                                           throws org.ow2.petals.kernel.api.server.PetalsException
Specified by:
getContainerConfiguration in interface org.ow2.petals.kernel.api.server.PetalsServer
Throws:
org.ow2.petals.kernel.api.server.PetalsException

browseJNDI

public java.lang.String browseJNDI()
                            throws org.ow2.petals.kernel.api.server.PetalsException
Specified by:
browseJNDI in interface org.ow2.petals.kernel.api.server.PetalsServer
Throws:
org.ow2.petals.kernel.api.server.PetalsException

getServiceEndpoints

public java.util.List<org.ow2.petals.kernel.api.service.ServiceEndpoint> getServiceEndpoints(boolean global)
                                                                                      throws org.ow2.petals.kernel.api.server.PetalsException

Specified by:
getServiceEndpoints in interface org.ow2.petals.kernel.api.server.PetalsServer
Throws:
org.ow2.petals.kernel.api.server.PetalsException

synchronizeRegistry

public void synchronizeRegistry()
                         throws org.ow2.petals.kernel.api.server.PetalsException

Specified by:
synchronizeRegistry in interface org.ow2.petals.kernel.api.server.PetalsServer
Throws:
org.ow2.petals.kernel.api.server.PetalsException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.