|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.fdh.FaultDetectionHandlerFactory
public class FaultDetectionHandlerFactory
The FaultDetectionHandlerFactory class provides static methods to create FaultDetectionHandler instances
| Constructor Summary | |
|---|---|
FaultDetectionHandlerFactory()
|
|
| Method Summary | |
|---|---|
static ClassBundle |
getClassBundle(String fdhClassName,
List<String> configArgs)
Get the ClassBundle for a FaultDetectionHandler declaration |
static ClassBundle |
getClassBundle(String fdhClassName,
String configuration)
Get the ClassBundle for a FaultDetectionHandler declaration |
static ClassBundle |
getClassBundle(String fdhClassName,
String[] configArgs)
Get the ClassBundle for a FaultDetectionHandler declaration |
static FaultDetectionHandler<ServiceID> |
getFaultDetectionHandler(AssociationDescriptor aDesc,
ClassLoader cl)
Get a FaultDetectionHandler from the AssociationDescriptor |
static FaultDetectionHandler<ServiceID> |
getFaultDetectionHandler(ClassBundle fdhBundle,
ClassLoader cl)
Load the FaultDetectionHandler from a ClassBundle |
static FaultDetectionHandler<ServiceID> |
getFaultDetectionHandler(ServiceElement sElem,
ClassLoader cl)
Get a FaultDetectionHandler from the ServiceElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FaultDetectionHandlerFactory()
| Method Detail |
|---|
public static FaultDetectionHandler<ServiceID> getFaultDetectionHandler(ServiceElement sElem,
ClassLoader cl)
throws Exception
sElem - The ServiceElementcl - The delegation ClassLoader used to load the
FaultDetectionHandler, or the current thread's context class
loader if cl is null.
Exception - If there are errors creating the FaultDetectionHandler
public static FaultDetectionHandler<ServiceID> getFaultDetectionHandler(AssociationDescriptor aDesc,
ClassLoader cl)
throws Exception
aDesc - The AssociationDescriptorcl - The delegation ClassLoader used to load the
FaultDetectionHandler, or the current thread's context class
loader if cl is null.
Exception - If there are errors creating the FaultDetectionHandler
public static FaultDetectionHandler<ServiceID> getFaultDetectionHandler(ClassBundle fdhBundle,
ClassLoader cl)
throws Exception
fdhBundle - The ClassBundlecl - The delegation ClassLoader used to load the
FaultDetectionHandler, or the current thread's context class
loader if cl is null.
AdminFaultDetectionHandler will be
created. If there are problems creating the FaultDetectionHandler a
null will be returned
Exception - If there are errors creating the FaultDetectionHandler
public static ClassBundle getClassBundle(String fdhClassName,
String configuration)
fdhClassName - The class name of the FaultDetectionHandlerconfiguration - Configuration arguments
public static ClassBundle getClassBundle(String fdhClassName,
String[] configArgs)
fdhClassName - The class name of the FaultDetectionHandlerconfigArgs - Configuration arguments
public static ClassBundle getClassBundle(String fdhClassName,
List<String> configArgs)
fdhClassName - The class name of the FaultDetectionHandlerconfigArgs - List of configuration arguments
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||