|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.husky.BridgeFactory
public abstract class BridgeFactory
Loads the configured Bridge instance.
| Constructor Summary | |
|---|---|
BridgeFactory()
|
|
| Method Summary | |
|---|---|
static Bridge |
getBridge()
Loads the bridge class that is configed through the system property Bridge. |
static Bridge |
getBridge(Object key)
Get the cached instance of the bridge class that is configed through the system property Bridge. |
static Bridge |
getBridge(Object key,
Properties props)
Loads the bridge class that is configed through the property Bridge. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BridgeFactory()
| Method Detail |
|---|
public static Bridge getBridge()
Bridge.
If there is no such property, it returns an instance of BasicBridge.
public static Bridge getBridge(Object key)
Bridge.
If there is no cached instance it creates a new instance.
public static Bridge getBridge(Object key,
Properties props)
Bridge.
If the loaded bridge has a constructor that takes a Properties parameter,
that constructor is used. Otherwise the bridge will be instanciated with the default constructor
props - bridge properties
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||