|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.se.jsr181.model.JaxConfigurationHandler
public class JaxConfigurationHandler
A handler for SU elements. FIXME: do we need a separate class loader for every provides? (Each class loader loads the same JARs and thus increases the risk of having unclosed JARs).
| Constructor Summary | |
|---|---|
JaxConfigurationHandler(JaxConfiguration jaxConfiguration)
Constructor. |
|
| Method Summary | |
|---|---|
org.apache.axis2.description.AxisService |
getAxisService()
|
java.lang.String |
getEndpointName()
|
void |
start(Axis2Deployer axis2Deployer,
java.util.logging.Logger logger)
Creates the Axis service and its class loader. |
void |
stop(org.apache.axis2.context.ConfigurationContext axisContext)
Unregisters the Axis service and "close" its class loader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JaxConfigurationHandler(JaxConfiguration jaxConfiguration)
jaxConfiguration - a JAX configuration| Method Detail |
|---|
public org.apache.axis2.description.AxisService getAxisService()
public java.lang.String getEndpointName()
JaxConfiguration.getEndpointName()
public void start(Axis2Deployer axis2Deployer,
java.util.logging.Logger logger)
throws org.ow2.petals.component.framework.api.exception.PEtALSCDKException
This method must be called when the associated SU is stared.
axis2Deployer - the Axis2 deployerlogger - the component's logger
org.ow2.petals.component.framework.api.exception.PEtALSCDKException - if something went wrong
public void stop(org.apache.axis2.context.ConfigurationContext axisContext)
throws org.ow2.petals.component.framework.api.exception.PEtALSCDKException
This method must be called when the associated SU is stopped.
axisContext - the Axis context kept by the component
org.ow2.petals.component.framework.api.exception.PEtALSCDKException - if Axis could not unregister the service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||