org.jboss.net.axis
Class AttacheableService

java.lang.Object
  extended byorg.jboss.net.axis.AttacheableService
All Implemented Interfaces:
javax.naming.Referenceable

public class AttacheableService
extends java.lang.Object
implements javax.naming.Referenceable

The attacheable service implementation allows to bind axis service instances into JNDI without loosing the configuration link to their engine/deployer.

Configuration pointers are reinstalled by a dedicated context attribute that allows to identify a target configuration when deserialized by the associated ServiceFactory.

Since:
26.04.02
See Also:
ServiceFactory (src)

Field Summary
protected  java.lang.String rootContext
          this is what we need to find the important part, which is the engine configuration, again.
protected  java.lang.String serviceClass
          the real axis service implementation that regularly looses its configuration
 
Constructor Summary
AttacheableService(java.lang.String serviceClass, java.lang.String rootContext)
          Creates a new ServiceFactory.
 
Method Summary
 javax.naming.Reference getReference()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceClass

protected java.lang.String serviceClass
the real axis service implementation that regularly looses its configuration


rootContext

protected java.lang.String rootContext
this is what we need to find the important part, which is the engine configuration, again.

Constructor Detail

AttacheableService

public AttacheableService(java.lang.String serviceClass,
                          java.lang.String rootContext)
Creates a new ServiceFactory.

Method Detail

getReference

public javax.naming.Reference getReference()
Specified by:
getReference in interface javax.naming.Referenceable