public class NeverStrategy extends java.lang.Object implements ReleaseStrategy
Constructor and Description |
---|
NeverStrategy()
Constructor settings the initial values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canRelease(ManagedObject object)
Checks whether a factory shared object can be released or not.
|
boolean |
equals(NeverStrategy tocheck)
Checks wether a given
PlugInDef instance is equal to this. |
java.lang.String |
toString()
Overrides method
java.lang.Object.toString . |
public NeverStrategy()
public boolean canRelease(ManagedObject object)
canRelease
in interface ReleaseStrategy
object
- The shared object representation to be checkedpublic java.lang.String toString()
java.lang.Object.toString
.
toString
in class java.lang.Object
public boolean equals(NeverStrategy tocheck)
PlugInDef
instance is equal to this.
tocheck
- The instance to be comparedPlugInDef
instance to check for equalityCopyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.