|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.management.oss.impl.ManagedEntityKeyImpl
Title: JSR090 Reference Implementation Description: Copyright: Copyright 2001 Ericsson Radio Systems AB Company: Ericsson
Constructor Summary | |
ManagedEntityKeyImpl()
|
Method Summary | |
java.lang.Object |
clone()
Deep copy this key. |
ApplicationContext |
getApplicationContext()
ApplicationContext used to locate the Application Components in charge of this managed entity |
java.lang.String |
getApplicationDN()
The DN of the Application JNDI Naming Context. |
java.lang.String |
getDomain()
The Domain name identifies an application's administrative domain. |
java.lang.Object |
getPrimaryKey()
The unique identifier for the Managed Entity This key is mappable to the EJB primary key when the ManagedEntity is represented by an Entity Bean |
java.lang.String[] |
getSupportedSerializerTypes()
Return all the serializer types than can be created by this factory. |
java.lang.String |
getType()
Get the type of the ManagedEntityValue referenced by
the ManagedEntityKey .
|
ApplicationContext |
makeApplicationContext()
Factory method for ApplicationContext |
java.lang.Object |
makePrimaryKey()
Manufacture a PrimaryKey |
Serializer |
makeSerializer(java.lang.String serializerType)
Manufacture a Serializer for the object type inheriting the interface. |
void |
setApplicationContext(ApplicationContext ctx)
Set the application context. |
void |
setApplicationDN(java.lang.String dn)
Set application DN. |
void |
setDomain(java.lang.String domain)
|
void |
setPrimaryKey(java.lang.Object key)
Sets a new value for the primary key. |
void |
setType(java.lang.String type)
Set a new value for type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ManagedEntityKeyImpl()
Method Detail |
public ApplicationContext makeApplicationContext()
makeApplicationContext
in interface ManagedEntityKey
public java.lang.String getDomain()
public void setDomain(java.lang.String domain) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public java.lang.String getType()
ManagedEntityKey
ManagedEntityValue
referenced by
the ManagedEntityKey
.
The type is part of ManagedEntityKey
,
because primaryKey
s can be
duplicate between ManagedEntityValue
, implemented by the same
class, but from different type (not java type).
getType
in interface ManagedEntityKey
public void setType(java.lang.String type) throws java.lang.IllegalArgumentException
ManagedEntityKey
setType
in interface ManagedEntityKey
type
- the new value for type
java.lang.IllegalArgumentException
- if type is not valid.public java.lang.Object getPrimaryKey()
getPrimaryKey
in interface ManagedEntityKey
public void setPrimaryKey(java.lang.Object key) throws java.lang.IllegalArgumentException
ManagedEntityKey
setPrimaryKey
in interface ManagedEntityKey
key
- the new value for the primary key.
java.lang.IllegalArgumentException
- if key is bad in some way.public ApplicationContext getApplicationContext()
getApplicationContext
in interface ManagedEntityKey
public void setApplicationContext(ApplicationContext ctx)
setApplicationContext
in interface ManagedEntityKey
ctx
- application contextpublic java.lang.String getApplicationDN()
optional deployment dependent top context/ System/system/ApplicatonType/Activation/Application/ major-minor-build-product/
under which the topics and homes of the application that is sending the event are deployed.
getApplicationDN
in interface ManagedEntityKey
public void setApplicationDN(java.lang.String dn)
setApplicationDN
in interface ManagedEntityKey
dn
- of applicationpublic java.lang.Object makePrimaryKey()
makePrimaryKey
in interface ManagedEntityKey
public java.lang.Object clone()
ManagedEntityKey
clone
in interface ManagedEntityKey
public java.lang.String toString()
public java.lang.String[] getSupportedSerializerTypes()
SerializerFactory
getSupportedSerializerTypes
in interface SerializerFactory
public Serializer makeSerializer(java.lang.String serializerType) throws java.lang.IllegalArgumentException
SerializerFactory
makeSerializer
in interface SerializerFactory
serializerType
- the class name of the serializer interface that must
be created. For example XmlSerializer.getClass().getName()
java.lang.IllegalArgumentException
- if no serializer can be created matching
the provided Serializer Type.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |