Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbpm.util.experimental.container.impl
Class AspectService  view AspectService download AspectService.java

java.lang.Object
  extended byorg.jbpm.util.experimental.container.impl.AspectService
All Implemented Interfaces:
org.jbpm.util.experimental.container.Removable, org.jbpm.util.experimental.container.Service

public class AspectService
extends java.lang.Object
implements org.jbpm.util.experimental.container.Service


Field Summary
private  org.jbpm.util.experimental.container.Aspect[] aspects
           
private  java.util.Collection listeners
           
private  org.jbpm.util.experimental.container.Service service
           
 
Constructor Summary
AspectService(org.jbpm.util.experimental.container.Service service, org.jbpm.util.experimental.container.Aspect[] aspects)
           
 
Method Summary
 void addRemoveListener(org.jbpm.util.experimental.container.RemoveListener removeListener)
           
 java.lang.Class[] getInterfaces()
          specifies which interfaces are implemented by the objects that are retrieved from this service.
 java.lang.Object getServiceObject()
          gets a service object.
 void releaseServiceObject(java.lang.Object serviceObject)
          releases a service object.
 void removeRemoveListener(org.jbpm.util.experimental.container.RemoveListener removeListener)
           
 void removing()
          is callback method, called when this object is being removed from the container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service

private org.jbpm.util.experimental.container.Service service

aspects

private org.jbpm.util.experimental.container.Aspect[] aspects

listeners

private java.util.Collection listeners
Constructor Detail

AspectService

public AspectService(org.jbpm.util.experimental.container.Service service,
                     org.jbpm.util.experimental.container.Aspect[] aspects)
Method Detail

getInterfaces

public java.lang.Class[] getInterfaces()
Description copied from interface: org.jbpm.util.experimental.container.Service
specifies which interfaces are implemented by the objects that are retrieved from this service.

Specified by:
getInterfaces in interface org.jbpm.util.experimental.container.Service

getServiceObject

public java.lang.Object getServiceObject()
Description copied from interface: org.jbpm.util.experimental.container.Service
gets a service object.

Specified by:
getServiceObject in interface org.jbpm.util.experimental.container.Service

releaseServiceObject

public void releaseServiceObject(java.lang.Object serviceObject)
Description copied from interface: org.jbpm.util.experimental.container.Service
releases a service object. (important for pooling and synchronization).

Specified by:
releaseServiceObject in interface org.jbpm.util.experimental.container.Service

addRemoveListener

public void addRemoveListener(org.jbpm.util.experimental.container.RemoveListener removeListener)
Specified by:
addRemoveListener in interface org.jbpm.util.experimental.container.Removable

removing

public void removing()
Description copied from interface: org.jbpm.util.experimental.container.Removable
is callback method, called when this object is being removed from the container.

Specified by:
removing in interface org.jbpm.util.experimental.container.Removable

removeRemoveListener

public void removeRemoveListener(org.jbpm.util.experimental.container.RemoveListener removeListener)
Specified by:
removeRemoveListener in interface org.jbpm.util.experimental.container.Removable