Package de.intarsys.nativec.api
Class NativeInterface
- java.lang.Object
-
- de.intarsys.nativec.api.NativeInterface
-
public class NativeInterface extends java.lang.Object
Access 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
INativeInterface
of 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 INativeHandle
NULL
static java.lang.String
PROP_NATIVEINTERFACE
-
Constructor Summary
Constructors Constructor Description NativeInterface()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static INativeInterface
createNativeInterface()
protected static INativeInterface
findNativeInterface()
static INativeInterface
get()
static java.lang.String
getName()
static void
set(INativeInterface nativeInterface)
static void
setName(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)
-
-