org.jboss.osgi.husky.runtime.osgi
Class HuskyInterceptor

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

public class HuskyInterceptor
extends AbstractLifecycleInterceptor

The Husky interceptor processes the ManifestProcessor.HEADER_TEST_PACKAGE.

Since:
30-Oct-2009
Author:
Thomas.Diesler@jboss.com

Field Summary
 
Fields inherited from interface org.jboss.osgi.deployment.interceptor.LifecycleInterceptor
RELATIVE_ORDER_DEFAULT
 
Constructor Summary
HuskyInterceptor(ManifestProcessor processor)
           
 
Method Summary
 void invoke(int state, InvocationContext context)
          Called by the LifecycleInterceptorService when the given bundle is about to change to the given state
 
Methods inherited from class org.jboss.osgi.deployment.interceptor.AbstractLifecycleInterceptor
addInput, addOutput, getInput, getOutput, getRelativeOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HuskyInterceptor

public HuskyInterceptor(ManifestProcessor processor)
Method Detail

invoke

public void invoke(int state,
                   InvocationContext context)
            throws LifecycleInterceptorException
Description copied from interface: LifecycleInterceptor
Called by the LifecycleInterceptorService when the given bundle is about to change to the given state

Parameters:
state - The future state of the bundle
context - The interceptor context
Throws:
LifecycleInterceptorException - if the invocation of the interceptor fails


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.