org.jboss.osgi.deployment.interceptor
Class AbstractLifecycleInterceptor

java.lang.Object
  extended by org.jboss.osgi.deployment.interceptor.AbstractLifecycleInterceptor
All Implemented Interfaces:
LifecycleInterceptor

public abstract class AbstractLifecycleInterceptor
extends Object
implements LifecycleInterceptor

An abstract implementation of a LifecycleInterceptor.

Since:
15-Oct-2009
Author:
thomas.diesler@jboss.com

Field Summary
 
Fields inherited from interface org.jboss.osgi.deployment.interceptor.LifecycleInterceptor
RELATIVE_ORDER_DEFAULT
 
Constructor Summary
AbstractLifecycleInterceptor()
           
 
Method Summary
 void addInput(Class<?> in)
          Add an input requirement.
 void addOutput(Class<?> out)
          Add an output capability.
 Set<Class<?>> getInput()
          Get the required set of inputs.
 Set<Class<?>> getOutput()
          Get the provided set of outputs.
 int getRelativeOrder()
          Get default relative order
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.osgi.deployment.interceptor.LifecycleInterceptor
invoke
 

Constructor Detail

AbstractLifecycleInterceptor

public AbstractLifecycleInterceptor()
Method Detail

getRelativeOrder

public int getRelativeOrder()
Get default relative order

Specified by:
getRelativeOrder in interface LifecycleInterceptor
Returns:
1000

getInput

public Set<Class<?>> getInput()
Get the required set of inputs.

Specified by:
getInput in interface LifecycleInterceptor
Returns:
null if there are no inputs required

getOutput

public Set<Class<?>> getOutput()
Get the provided set of outputs.

Specified by:
getOutput in interface LifecycleInterceptor
Returns:
null if there are no outputs provided

addInput

public void addInput(Class<?> in)
Add an input requirement.


addOutput

public void addOutput(Class<?> out)
Add an output capability.



Copyright © 2010. All Rights Reserved.