|
Service Activator Toolkit
Version 1.1.0 (20081206) |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.soda.sat.core.util.MiscUtility
public class MiscUtility
Miscellaneous utilities.
Method Summary | |
---|---|
boolean |
getBooleanProperty(String key,
boolean defaultValue)
Get the specified boolean property. |
static MiscUtility |
getInstance()
Public getter for the MiscUtility singleton instance. |
int |
getIntProperty(String key,
int defaultValue)
Get the specified int property. |
long |
getLongProperty(String key,
long defaultValue)
Get the specified long property. |
Object |
unwrapExportedServiceProxy(Object serviceProxy)
Unwrap the specified exported service proxy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MiscUtility getInstance()
MiscUtility
singleton instance.
MiscUtility
public boolean getBooleanProperty(String key, boolean defaultValue)
boolean
property.
key
- A property key.defaultValue
- The default property value.
public int getIntProperty(String key, int defaultValue)
int
property.
key
- A property key, never null
.defaultValue
- The default property value.
public long getLongProperty(String key, long defaultValue)
long
property.
key
- A property key, never null
.defaultValue
- The default property value.
public Object unwrapExportedServiceProxy(Object serviceProxy) throws IllegalArgumentException
serviceProxy
- A service proxy.
IllegalArgumentException
- is thrown if the parameter is not a
Proxy
, or if the parameters is not a proxy for an exported
service.ExportProxyServiceRecord.unwrapProxy(Object)
|
Service Activator Toolkit
Version 1.1.0 (20081206) |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2001, 2008 IBM Corporation and others. All Rights Reserved.