wt.services.applicationcontext
Class ApplicationContextServiceProviderAdapter

java.lang.Object
  extended bywt.services.applicationcontext.ApplicationContextServiceProviderAdapter
All Implemented Interfaces:
BeanContextServiceProvider, Externalizable, Serializable

public class ApplicationContextServiceProviderAdapter
extends Object
implements BeanContextServiceProvider, Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
private  ApplicationContextServiceProvider provider
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Constructor Summary
ApplicationContextServiceProviderAdapter()
          

Supported API: false
ApplicationContextServiceProviderAdapter(ApplicationContextServiceProvider provider)
          

Supported API: false
 
Method Summary
 Iterator getCurrentServiceSelectors(BeanContextServices bcs, Class service_class)
          

Supported API: false
 ApplicationContextServiceProvider getProvider()
          Gets the object for the association that plays role: provider.
 Object getService(BeanContextServices bcs, Object requestor, Class service_class, Object selector)
          

Supported API: false
private  void providerValidate(ApplicationContextServiceProvider a_Provider)
           
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
 void releaseService(BeanContextServices bcs, Object service_class, Object service)
          

Supported API: false
 void setProvider(ApplicationContextServiceProvider a_Provider)
          Sets the object for the association that plays role: provider.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
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

provider

private ApplicationContextServiceProvider provider

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

ApplicationContextServiceProviderAdapter

public ApplicationContextServiceProviderAdapter()


Supported API: false


ApplicationContextServiceProviderAdapter

public ApplicationContextServiceProviderAdapter(ApplicationContextServiceProvider provider)
                                         throws WTPropertyVetoException


Supported API: false

Parameters:
provider -
Throws:
WTPropertyVetoException
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException

getProvider

public ApplicationContextServiceProvider getProvider()
Gets the object for the association that plays role: provider.

Supported API: false

Returns:
ApplicationContextServiceProvider

setProvider

public void setProvider(ApplicationContextServiceProvider a_Provider)
                 throws WTPropertyVetoException
Sets the object for the association that plays role: provider.

Supported API: false

Parameters:
a_Provider -
Throws:
WTPropertyVetoException

providerValidate

private void providerValidate(ApplicationContextServiceProvider a_Provider)
                       throws WTPropertyVetoException
Parameters:
a_Provider -
Throws:
WTPropertyVetoException

getCurrentServiceSelectors

public Iterator getCurrentServiceSelectors(BeanContextServices bcs,
                                           Class service_class)


Supported API: false

Specified by:
getCurrentServiceSelectors in interface BeanContextServiceProvider
Parameters:
bcs -
service_class -
Returns:
Iterator

getService

public Object getService(BeanContextServices bcs,
                         Object requestor,
                         Class service_class,
                         Object selector)


Supported API: false

Specified by:
getService in interface BeanContextServiceProvider
Parameters:
bcs -
requestor -
service_class -
selector -
Returns:
Object

releaseService

public void releaseService(BeanContextServices bcs,
                           Object service_class,
                           Object service)


Supported API: false

Specified by:
releaseService in interface BeanContextServiceProvider
Parameters:
bcs -
service_class -
service -