|
SDX Network Information Collector SDK | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--net.juniper.smgt.gateway.gal.NicFactory
The NicFactory is used to access all the NIC
components that are configured in the current gateway.
| Field Summary | |
static java.lang.String |
DEFAULT_PROXY_CLASS
The default NicProxy implementation classname to be instantiated if no property is specified. |
static java.lang.String |
NIC_PROXY_PROPERTY_NAME
The NicProxy classname property name |
| Constructor Summary | |
protected |
NicFactory(java.util.Properties props)
Constructs NicFactory based on the privided properties. |
| Method Summary | |
void |
destroy()
Cleanup method |
void |
destroyNicComponent(java.lang.String nicNamespace)
Destroys nic component based on its name space provided. |
static net.juniper.smgt.gateway.gal.NicFactory |
getInstance()
Returns the sole instance of the NicFactory. |
net.juniper.smgt.gateway.gal.NIC |
getNicComponent(java.lang.String nicNamespace,
net.juniper.smgt.lib.config.ConfigMgr confMgr)
Returns the NIC component that was configured with the specified name space. |
net.juniper.smgt.gateway.gal.SaeLocator |
getSaeLocator(java.lang.String locName,
net.juniper.smgt.lib.config.ConfigMgr confMgr)
Returns the SaeLocator component that was configured with the specified name. |
static void |
initialize(java.util.Properties props)
Initializes the sole instance of NicFactory using ORB properties passed in. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String DEFAULT_PROXY_CLASS
public static final java.lang.String NIC_PROXY_PROPERTY_NAME
| Constructor Detail |
protected NicFactory(java.util.Properties props)
props - Properties| Method Detail |
public static net.juniper.smgt.gateway.gal.NicFactory getInstance()
public static void initialize(java.util.Properties props)
public net.juniper.smgt.gateway.gal.NIC getNicComponent(java.lang.String nicNamespace,
net.juniper.smgt.lib.config.ConfigMgr confMgr)
throws java.lang.IllegalArgumentException
nicNamespace - String the name space of the required NIC componentconfMgr - ConfigMgr configuration manager
java.lang.IllegalArgumentException - runtime exception on
instantiation failure - thrown when nicNamespace is invalid or
directory connection is unavailable.
public net.juniper.smgt.gateway.gal.SaeLocator getSaeLocator(java.lang.String locName,
net.juniper.smgt.lib.config.ConfigMgr confMgr)
throws java.lang.IllegalArgumentException
locName - the name of the required SaeLocator componentconfMgr - configuration manager
java.lang.IllegalArgumentException - if no SaeLocator component with the specified
name is found.public void destroy()
public void destroyNicComponent(java.lang.String nicNamespace)
nicNamespace - java.lang.String
|
SDX Network Information Collector SDK | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||