wt.services.ac
Interface ACServices

All Superinterfaces:
BeanContext, BeanContextChild, BeanContextServiceRevokedListener, BeanContextServices, BeanContextServicesListener, Collection, DesignMode, EventListener, Visibility
All Known Implementing Classes:
DefaultACServices

public interface ACServices
extends BeanContextServices



Supported API: false

Extendable: false


Field Summary
static String CONTEXT_NAME
          Label for the attribute.
 
Fields inherited from interface java.beans.beancontext.BeanContext
globalHierarchyLock
 
Fields inherited from interface java.beans.DesignMode
PROPERTYNAME
 
Method Summary
 boolean addImplementation(ServiceDescriptor descriptor)
          

Supported API: false
 boolean addService(String service_name, BeanContextServiceProvider bcsp)
          

Supported API: false
 String getContextName()
          Gets the value of the attribute: CONTEXT_NAME.
 Iterator getCurrentServiceNames()
          

Supported API: false
 Iterator getCurrentServiceSelectors(String service_name)
          

Supported API: false
 Iterator getCurrentServiceSelectors(String service_name, Object requestor)
          

Supported API: false
 Object getService(BeanContextChild bcc, Object requestor, String service_name, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 String getServiceImplementationName(BeanContextChild bcc, Object requestor, String service_name, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Map getServiceImplementationNameMap(BeanContextChild bcc, ACRequestor requestor, String service_name, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Map getServiceImplementationNameMap(BeanContextChild bcc, Object[] requestors, String service_name, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 String[] getServiceImplementationNames(BeanContextChild bcc, Object requestor, String service_name, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Map getServiceImplementationNamesMap(BeanContextChild bcc, ACRequestor requestor, String service_name, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Map getServiceImplementationNamesMap(BeanContextChild bcc, Object[] requestors, String service_name, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Map getServiceMap(BeanContextChild bcc, ACRequestor requestor, Class service_class, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Map getServiceMap(BeanContextChild bcc, ACRequestor requestor, String service_name, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Map getServiceMap(BeanContextChild bcc, Object[] requestors, Class service_class, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Map getServiceMap(BeanContextChild bcc, Object[] requestors, String service_name, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Object[] getServices(BeanContextChild bcc, Object requestor, Class service_class, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Object[] getServices(BeanContextChild bcc, Object requestor, String service_name, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Map getServicesMap(BeanContextChild bcc, ACRequestor requestor, Class service_class, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Map getServicesMap(BeanContextChild bcc, ACRequestor requestor, String service_name, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Map getServicesMap(BeanContextChild bcc, Object[] requestors, Class service_class, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 Map getServicesMap(BeanContextChild bcc, Object[] requestors, String service_name, Object selector, BeanContextServiceRevokedListener bcsrl)
          

Supported API: false
 boolean hasService(String service_name)
          

Supported API: false
 void releaseService(BeanContextChild arg0, Object requestor, Object service)
          

Supported API: false
 void revokeService(Class service_class, BeanContextServiceProvider bcsp, boolean revoke_now)
          

Supported API: false
 void setContextName(String a_ContextName)
          Sets the value of the attribute: CONTEXT_NAME.
 
Methods inherited from interface java.beans.beancontext.BeanContextServices
addBeanContextServicesListener, addService, getCurrentServiceClasses, getCurrentServiceSelectors, getService, hasService, removeBeanContextServicesListener
 
Methods inherited from interface java.beans.beancontext.BeanContext
addBeanContextMembershipListener, getResource, getResourceAsStream, instantiateChild, removeBeanContextMembershipListener
 
Methods inherited from interface java.beans.beancontext.BeanContextChild
addPropertyChangeListener, addVetoableChangeListener, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.beans.DesignMode
isDesignTime, setDesignTime
 
Methods inherited from interface java.beans.Visibility
avoidingGui, dontUseGui, needsGui, okToUseGui
 
Methods inherited from interface java.beans.beancontext.BeanContextServicesListener
serviceAvailable
 
Methods inherited from interface java.beans.beancontext.BeanContextServiceRevokedListener
serviceRevoked
 

Field Detail

CONTEXT_NAME

public static final String CONTEXT_NAME
Label for the attribute.

Supported API: false

See Also:
Constant Field Values
Method Detail

getContextName

public String getContextName()
Gets the value of the attribute: CONTEXT_NAME.

Supported API: false

Returns:
String

setContextName

public void setContextName(String a_ContextName)
                    throws WTPropertyVetoException
Sets the value of the attribute: CONTEXT_NAME.

Supported API: false

Parameters:
a_ContextName -
Throws:
WTPropertyVetoException

addService

public boolean addService(String service_name,
                          BeanContextServiceProvider bcsp)


Supported API: false

Parameters:
service_name -
bcsp -
Returns:
boolean

addImplementation

public boolean addImplementation(ServiceDescriptor descriptor)
                          throws ACException


Supported API: false

Parameters:
descriptor -
Returns:
boolean
Throws:
ACException

getCurrentServiceNames

public Iterator getCurrentServiceNames()


Supported API: false

Returns:
Iterator

getCurrentServiceSelectors

public Iterator getCurrentServiceSelectors(String service_name)


Supported API: false

Parameters:
service_name -
Returns:
Iterator

getCurrentServiceSelectors

public Iterator getCurrentServiceSelectors(String service_name,
                                           Object requestor)


Supported API: false

Parameters:
service_name -
requestor -
Returns:
Iterator

getService

public Object getService(BeanContextChild bcc,
                         Object requestor,
                         String service_name,
                         Object selector,
                         BeanContextServiceRevokedListener bcsrl)
                  throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestor -
service_name -
selector -
bcsrl -
Returns:
Object
Throws:
TooManyListenersException

getServices

public Object[] getServices(BeanContextChild bcc,
                            Object requestor,
                            String service_name,
                            Object selector,
                            BeanContextServiceRevokedListener bcsrl)
                     throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestor -
service_name -
selector -
bcsrl -
Returns:
Object[]
Throws:
TooManyListenersException

getServices

public Object[] getServices(BeanContextChild bcc,
                            Object requestor,
                            Class service_class,
                            Object selector,
                            BeanContextServiceRevokedListener bcsrl)
                     throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestor -
service_class -
selector -
bcsrl -
Returns:
Object[]
Throws:
TooManyListenersException

getServiceImplementationName

public String getServiceImplementationName(BeanContextChild bcc,
                                           Object requestor,
                                           String service_name,
                                           Object selector,
                                           BeanContextServiceRevokedListener bcsrl)
                                    throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestor -
service_name -
selector -
bcsrl -
Returns:
String
Throws:
TooManyListenersException

getServiceImplementationNames

public String[] getServiceImplementationNames(BeanContextChild bcc,
                                              Object requestor,
                                              String service_name,
                                              Object selector,
                                              BeanContextServiceRevokedListener bcsrl)
                                       throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestor -
service_name -
selector -
bcsrl -
Returns:
String[]
Throws:
TooManyListenersException

getServiceMap

public Map getServiceMap(BeanContextChild bcc,
                         Object[] requestors,
                         String service_name,
                         Object selector,
                         BeanContextServiceRevokedListener bcsrl)
                  throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestors -
service_name -
selector -
bcsrl -
Returns:
Map
Throws:
TooManyListenersException

getServiceMap

public Map getServiceMap(BeanContextChild bcc,
                         Object[] requestors,
                         Class service_class,
                         Object selector,
                         BeanContextServiceRevokedListener bcsrl)
                  throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestors -
service_class -
selector -
bcsrl -
Returns:
Map
Throws:
TooManyListenersException

getServicesMap

public Map getServicesMap(BeanContextChild bcc,
                          Object[] requestors,
                          String service_name,
                          Object selector,
                          BeanContextServiceRevokedListener bcsrl)
                   throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestors -
service_name -
selector -
bcsrl -
Returns:
Map
Throws:
TooManyListenersException

getServicesMap

public Map getServicesMap(BeanContextChild bcc,
                          Object[] requestors,
                          Class service_class,
                          Object selector,
                          BeanContextServiceRevokedListener bcsrl)
                   throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestors -
service_class -
selector -
bcsrl -
Returns:
Map
Throws:
TooManyListenersException

getServiceImplementationNameMap

public Map getServiceImplementationNameMap(BeanContextChild bcc,
                                           Object[] requestors,
                                           String service_name,
                                           Object selector,
                                           BeanContextServiceRevokedListener bcsrl)
                                    throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestors -
service_name -
selector -
bcsrl -
Returns:
Map
Throws:
TooManyListenersException

getServiceImplementationNamesMap

public Map getServiceImplementationNamesMap(BeanContextChild bcc,
                                            Object[] requestors,
                                            String service_name,
                                            Object selector,
                                            BeanContextServiceRevokedListener bcsrl)
                                     throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestors -
service_name -
selector -
bcsrl -
Returns:
Map
Throws:
TooManyListenersException

getServiceMap

public Map getServiceMap(BeanContextChild bcc,
                         ACRequestor requestor,
                         String service_name,
                         Object selector,
                         BeanContextServiceRevokedListener bcsrl)
                  throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestor -
service_name -
selector -
bcsrl -
Returns:
Map
Throws:
TooManyListenersException

getServiceMap

public Map getServiceMap(BeanContextChild bcc,
                         ACRequestor requestor,
                         Class service_class,
                         Object selector,
                         BeanContextServiceRevokedListener bcsrl)
                  throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestor -
service_class -
selector -
bcsrl -
Returns:
Map
Throws:
TooManyListenersException

getServicesMap

public Map getServicesMap(BeanContextChild bcc,
                          ACRequestor requestor,
                          String service_name,
                          Object selector,
                          BeanContextServiceRevokedListener bcsrl)
                   throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestor -
service_name -
selector -
bcsrl -
Returns:
Map
Throws:
TooManyListenersException

getServicesMap

public Map getServicesMap(BeanContextChild bcc,
                          ACRequestor requestor,
                          Class service_class,
                          Object selector,
                          BeanContextServiceRevokedListener bcsrl)
                   throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestor -
service_class -
selector -
bcsrl -
Returns:
Map
Throws:
TooManyListenersException

getServiceImplementationNameMap

public Map getServiceImplementationNameMap(BeanContextChild bcc,
                                           ACRequestor requestor,
                                           String service_name,
                                           Object selector,
                                           BeanContextServiceRevokedListener bcsrl)
                                    throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestor -
service_name -
selector -
bcsrl -
Returns:
Map
Throws:
TooManyListenersException

getServiceImplementationNamesMap

public Map getServiceImplementationNamesMap(BeanContextChild bcc,
                                            ACRequestor requestor,
                                            String service_name,
                                            Object selector,
                                            BeanContextServiceRevokedListener bcsrl)
                                     throws TooManyListenersException


Supported API: false

Parameters:
bcc -
requestor -
service_name -
selector -
bcsrl -
Returns:
Map
Throws:
TooManyListenersException

hasService

public boolean hasService(String service_name)


Supported API: false

Parameters:
service_name -
Returns:
boolean

releaseService

public void releaseService(BeanContextChild arg0,
                           Object requestor,
                           Object service)


Supported API: false

Specified by:
releaseService in interface BeanContextServices
Parameters:
arg0 -
requestor -
service -

revokeService

public void revokeService(Class service_class,
                          BeanContextServiceProvider bcsp,
                          boolean revoke_now)


Supported API: false

Specified by:
revokeService in interface BeanContextServices
Parameters:
service_class -
bcsp -
revoke_now -