org.ops4j.pax.url.assembly.internal
Class Activator

java.lang.Object
  extended by org.ops4j.pax.url.commons.handler.HandlerActivator<java.lang.Void>
      extended by org.ops4j.pax.url.assembly.internal.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public final class Activator
extends HandlerActivator<java.lang.Void>

Bundle activator for "assembly:" protocol handler. Registers the "assembly:" url handler as a service.

Since:
1.1.0, August 31, 2009
Author:
Alin Dreghiciu

Constructor Summary
Activator()
           
 
Method Summary
static java.net.URLConnection createConnection(java.net.URL url)
          Creates an "assembly:" url connection.
 
Methods inherited from class org.ops4j.pax.url.commons.handler.HandlerActivator
start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
See Also:
HandlerActivator.HandlerActivator(String[], String, ConnectionFactory)
Method Detail

createConnection

public static java.net.URLConnection createConnection(java.net.URL url)
                                               throws java.io.IOException
Creates an "assembly:" url connection.

Parameters:
url - assembly url
Returns:
url connection
Throws:
java.io.IOException - re-thrown


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.