org.microemu.microedition
Class ImplFactory
java.lang.Object
org.microemu.microedition.ImplFactory
public class ImplFactory
- extends java.lang.Object
This class allows to unbind implemenation with CLDC or MIDP declarations.
- Author:
- vlads
|
Field Summary |
static java.lang.String |
DEFAULT
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
instance
public static ImplFactory instance()
register
public static void register(java.lang.Class delegate,
java.lang.Class implementation)
unregister
public static void unregister(java.lang.Class delegate,
java.lang.Class implementation)
registerGCF
public static void registerGCF(java.lang.String scheme,
java.lang.Object implementation)
- Register Generic Connection Framework scheme implementation.
- Parameters:
implementation - instance of ConnectorDelegatescheme -
unregistedGCF
public static void unregistedGCF(java.lang.String scheme,
java.lang.Object implementation)
getCGFScheme
public static java.lang.String getCGFScheme(java.lang.String name)
- Parameters:
name - The URL for the connection.
- Returns:
- UTL scheme
getCGFImplementation
public static ConnectorDelegate getCGFImplementation(java.lang.String name)
- Parameters:
name - The URL for the connection.
- Returns:
getImplementation
public static Implementation getImplementation(java.lang.Class origClass,
java.lang.Class delegateInterface)
Copyright © 2001-2007 MicroEmulator Team. All Rights Reserved.