Package org.eclipse.jetty.osgi.boot
Class OSGiDeployer
- java.lang.Object
-
- org.eclipse.jetty.deploy.bindings.StandardDeployer
-
- org.eclipse.jetty.osgi.boot.OSGiDeployer
-
- All Implemented Interfaces:
AppLifeCycle.Binding
public class OSGiDeployer extends StandardDeployer
OSGiDeployer Extension of standard Jetty deployer that emits OSGi EventAdmin events whenever a webapp is deployed into OSGi via Jetty.
-
-
Constructor Summary
Constructors Constructor Description OSGiDeployer(ServerInstanceWrapper server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doProcessBinding(Node node, App app)
void
processBinding(Node node, App app)
Event called to process aAppLifeCycle
binding.-
Methods inherited from class org.eclipse.jetty.deploy.bindings.StandardDeployer
getBindingTargets
-
-
-
-
Constructor Detail
-
OSGiDeployer
public OSGiDeployer(ServerInstanceWrapper server)
-
-
Method Detail
-
processBinding
public void processBinding(Node node, App app) throws java.lang.Exception
Description copied from interface:AppLifeCycle.Binding
Event called to process aAppLifeCycle
binding.- Specified by:
processBinding
in interfaceAppLifeCycle.Binding
- Overrides:
processBinding
in classStandardDeployer
- Parameters:
node
- the node being processedapp
- the app being processed- Throws:
java.lang.Exception
- if any problem severe enough to halt the AppLifeCycle processing
-
-