|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.net.URLStreamHandler
org.jboss.ejb3.protocol.jarjar.Handler
public class Handler
The jarjar URL stream handler allows for directories within a jarjar to be served as a jar file. So the URL spec becomes: jarjar:jar:file:myjar.jar!/somedirectory/ It's meant to be used by the PersistenceUnitDeploment to comply with javax.persistence.spi.PersistentenceUnitInfo.getPersistenceUnitRootUrl()
PersistenceUnitInfo.getPersistenceUnitRootUrl()| Constructor Summary | |
|---|---|
Handler()
|
|
| Method Summary | |
|---|---|
static void |
init()
|
protected java.net.URLConnection |
openConnection(java.net.URL u)
|
| Methods inherited from class java.net.URLStreamHandler |
|---|
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Handler()
| Method Detail |
|---|
public static void init()
protected java.net.URLConnection openConnection(java.net.URL u)
throws java.io.IOException
openConnection in class java.net.URLStreamHandlerjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||