|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.arjuna.orbportability.Services
public class Services
An attempt at some ORB portable ways of accessing ORB services.
Field Summary | |
---|---|
static int |
BIND_CONNECT
|
static String[] |
BINDING_SERVICES
|
static int |
CONFIGURATION_FILE
The various means used to locate a service. |
static int |
FILE
|
static int |
NAME_SERVICE
|
static int |
NAMED_CONNECT
|
static String |
nameService
|
static String |
otsKind
|
static int |
RESOLVE_INITIAL_REFERENCES
|
static String |
transactionService
|
Constructor Summary | |
---|---|
Services(ORB orb)
Create a Services class which provides standard services for the given ORB instance. |
Method Summary | |
---|---|
static String |
bindString(int bindValue)
|
static int |
bindValue(String bindString)
Given a binding mechanism string name return the enumerated value. |
static int |
getResolver()
|
Object |
getService(String serviceName,
Object[] params)
The default implementation (specified on a per-ORB basis.) |
Object |
getService(String serviceName,
Object[] params,
int mechanism)
|
String[] |
listInitialServices()
|
void |
registerService(Object objRef,
String serviceName,
Object[] params)
The default implementation (probably specified on a per-ORB basis.) |
void |
registerService(Object objRef,
String serviceName,
Object[] params,
int mechanism)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CONFIGURATION_FILE
public static final int RESOLVE_INITIAL_REFERENCES
public static final int NAME_SERVICE
public static final int FILE
public static final int NAMED_CONNECT
public static final int BIND_CONNECT
public static final String[] BINDING_SERVICES
public static final String nameService
public static final String transactionService
public static final String otsKind
Constructor Detail |
---|
public Services(ORB orb)
orb
- The orb the services should use.Method Detail |
---|
public Object getService(String serviceName, Object[] params) throws InvalidName, IOException, SystemException
InvalidName
IOException
SystemException
public Object getService(String serviceName, Object[] params, int mechanism) throws InvalidName, IOException, SystemException
InvalidName
IOException
SystemException
public void registerService(Object objRef, String serviceName, Object[] params) throws InvalidName, IOException, SystemException
InvalidName
IOException
SystemException
public void registerService(Object objRef, String serviceName, Object[] params, int mechanism) throws InvalidName, IOException, SystemException
InvalidName
IOException
SystemException
public final String[] listInitialServices() throws IOException, SystemException
IOException
SystemException
public static final String bindString(int bindValue)
public static final int bindValue(String bindString)
bindString
- The binding mechanism string name to look up.
public static final int getResolver()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |