public class RegistrationKey extends Object
| Constructor and Description |
|---|
RegistrationKey(ContainerIdentity containerIdentity,
String hint) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object registrationKey)
Differentiate two keys.
|
ContainerIdentity |
getContainerIdentity() |
String |
getHint() |
int |
hashCode()
Allows quick verification to check is two keys are different.
|
String |
toString(String implementationConceptName) |
public RegistrationKey(ContainerIdentity containerIdentity, String hint)
containerIdentity - the container to which the Cargo object implementation class will be
associated with.hint - A general purpose string. This is used to differentiate different Cargo object
implementation classes when they are registered against the same container. For example for
configurations we're using "standalone", "existing" or "runtime".public ContainerIdentity getContainerIdentity()
RegistrationKey(ContainerIdentity, String)public String getHint()
RegistrationKey(ContainerIdentity, String)public boolean equals(Object registrationKey)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2004–2015 Github. All rights reserved.