Skip navigation links
oracle.adf.share.services
Class ServicePlugin
java.lang.Object
oracle.adf.share.services.ServicePlugin
-
public class ServicePlugin
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serviceType
protected java.lang.String serviceType
strategyClassName
protected java.lang.String strategyClassName
remainder
protected java.lang.String remainder
strategyInstance
protected ResourceServiceStrategy strategyInstance
ServicePlugin
public ServicePlugin(java.lang.String serviceLine)
getServiceType
public java.lang.String getServiceType()
getStrategyClassName
public java.lang.String getStrategyClassName()
getRemainder
public java.lang.String getRemainder()
getToolTipText
public java.lang.String getToolTipText()
getServiceStrategy
public ResourceServiceStrategy getServiceStrategy(DescriptorContext ctx)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
-
- Returns:
- the instance of the strategy, or throw a wrapper RuntimeException.
- Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
setServiceStrategy
public void setServiceStrategy(ResourceServiceStrategy instance)
- In the event that getServiceStrategy fails and the RuntimeException is handled, the caller may want to cache a "fallback" instance. If the plugin already has an instance, IllegalStateException is thrown.
-
- Parameters:
instance
- the fallback instance
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
-
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object
Skip navigation links
Copyright © 1997, 2011, Oracle. All rights reserved.