wt.services.ac.impl
Class DefaultServiceImplementation

java.lang.Object
  extended bywt.services.ac.impl.DefaultServiceImplementation
All Implemented Interfaces:
ServiceImplementation

public final class DefaultServiceImplementation
extends Object
implements ServiceImplementation



Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private  DefaultServiceDescriptor descriptor
           
private  Class implementationClass
           
private static String RESOURCE
           
private  Object singleton
           
 
Fields inherited from interface wt.services.ac.ServiceImplementation
DESCRIPTOR
 
Constructor Summary
DefaultServiceImplementation()
          

Supported API: false
DefaultServiceImplementation(ServiceDescriptor descriptor)
          

Supported API: false
 
Method Summary
 int comparePriority(ServiceImplementation other)
          

Supported API: false
 ServiceDescriptor getDescriptor()
          Gets the object for the association that plays role: descriptor.
private  Class getImplementationClass()
           
 String getRequestorName()
          

Supported API: false
 Object getService()
          

Supported API: false
private  Object getSingleton()
           
static Method getSingletonMethod(Class implementation_class)
           
static Object instantiateSingleton(Class implementation_class)
           
 void setDescriptor(ServiceDescriptor a_Descriptor)
          Sets the object for the association that plays role: descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

descriptor

private DefaultServiceDescriptor descriptor

implementationClass

private Class implementationClass

singleton

private Object singleton
Constructor Detail

DefaultServiceImplementation

public DefaultServiceImplementation()


Supported API: false


DefaultServiceImplementation

public DefaultServiceImplementation(ServiceDescriptor descriptor)
                             throws WTPropertyVetoException


Supported API: false

Parameters:
descriptor -
Throws:
WTPropertyVetoException
Method Detail

getRequestorName

public String getRequestorName()


Supported API: false

Specified by:
getRequestorName in interface ServiceImplementation
Returns:
String

getService

public Object getService()


Supported API: false

Specified by:
getService in interface ServiceImplementation
Returns:
Object

comparePriority

public int comparePriority(ServiceImplementation other)


Supported API: false

Specified by:
comparePriority in interface ServiceImplementation
Parameters:
other -
Returns:
int

getDescriptor

public ServiceDescriptor getDescriptor()
Gets the object for the association that plays role: descriptor.

Supported API: false

Specified by:
getDescriptor in interface ServiceImplementation
Returns:
ServiceDescriptor

setDescriptor

public void setDescriptor(ServiceDescriptor a_Descriptor)
                   throws WTPropertyVetoException
Sets the object for the association that plays role: descriptor.

Supported API: false

Specified by:
setDescriptor in interface ServiceImplementation
Parameters:
a_Descriptor -
Throws:
WTPropertyVetoException

instantiateSingleton

public static Object instantiateSingleton(Class implementation_class)

getSingletonMethod

public static Method getSingletonMethod(Class implementation_class)

getSingleton

private Object getSingleton()

getImplementationClass

private Class getImplementationClass()