public enum ServerManager extends Enum<ServerManager>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
protected static AtomicLong |
activeComponentInstances |
protected static Map<String,com.sap.conn.idoc.jco.JCoIDocServer> |
activeServers |
protected static Map<String,com.sap.conn.jco.JCoCustomRepository> |
repositories |
protected static ServerErrorAndExceptionListener |
serverErrorAndExceptionListener |
protected static ServerStateChangedListener |
serverStateChangedListener |
protected static File |
tidStoresLocation |
Modifier and Type | Method and Description |
---|---|
void |
decrementActiveComponentInstances() |
com.sap.conn.jco.JCoCustomRepository |
getRepository(String serverName) |
com.sap.conn.idoc.jco.JCoIDocServer |
getServer(String serverName) |
void |
incrementActiveComponentInstances() |
static ServerManager |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerManager[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerManager INSTANCE
protected static final AtomicLong activeComponentInstances
protected static final File tidStoresLocation
protected static final ServerErrorAndExceptionListener serverErrorAndExceptionListener
protected static final ServerStateChangedListener serverStateChangedListener
public static ServerManager[] values()
for (ServerManager c : ServerManager.values()) System.out.println(c);
public static ServerManager valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic void incrementActiveComponentInstances()
public void decrementActiveComponentInstances()
public com.sap.conn.idoc.jco.JCoIDocServer getServer(String serverName) throws Exception
Exception
public com.sap.conn.jco.JCoCustomRepository getRepository(String serverName)
Apache Camel