Package de.intarsys.nativec.api
Class NativeInterface
- java.lang.Object
-
- de.intarsys.nativec.api.NativeInterface
-
public class NativeInterface extends java.lang.ObjectAccess the VM singleton forINativeInterface.To make this work, just do one of the following:
- set the class name of your implementation with
NativeInterface - set a
INativeInterfaceof your choice inNativeInterface. - set system property "de.intarsys.nativec.api.INativeInterface" to the class name of your implementation.
- include a service provider file "de.intarsys.nativec.api.INativeInterface" in your deployment with the class name of your implementation.
- set the class name of your implementation with
-
-
Field Summary
Fields Modifier and Type Field Description static INativeHandleNULLstatic java.lang.StringPROP_NATIVEINTERFACE
-
Constructor Summary
Constructors Constructor Description NativeInterface()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static INativeInterfacecreateNativeInterface()protected static INativeInterfacefindNativeInterface()static INativeInterfaceget()static java.lang.StringgetName()static voidset(INativeInterface nativeInterface)static voidsetName(java.lang.String name)
-
-
-
Field Detail
-
NULL
public static INativeHandle NULL
-
PROP_NATIVEINTERFACE
public static final java.lang.String PROP_NATIVEINTERFACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createNativeInterface
protected static INativeInterface createNativeInterface()
-
findNativeInterface
protected static INativeInterface findNativeInterface()
-
get
public static INativeInterface get()
-
getName
public static java.lang.String getName()
-
set
public static void set(INativeInterface nativeInterface)
-
setName
public static void setName(java.lang.String name)
-
-