|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Registry used to stock mapping inforamtion between Custom Java type and XML Qualified name used in SOAP message. As well list of serializers use for un/marshalling SOAPElement. Holds also Class loader and SOAP Config of the Specified portal Service
| Method Summary | |
java.lang.Object |
createIntance(java.lang.Class clazz)
Create an instance of one class using current specialized registry class loader |
java.lang.String |
getDefaultNamespace(java.lang.Class type)
Get Default namespace for the Java type |
SOAPDeserializer |
getDeserializer(QName qname,
java.lang.String targetNamespace)
Gets Deserialzater for QName |
QNameURI |
getElementType(java.lang.Class type)
Gets QNameURI for Class type |
QName |
getElementType(java.lang.Class type,
java.lang.String targetNamespace)
Gets QName for Class type |
QNameURI |
getElementTypeWithouInheritance(java.lang.Class type)
Get QNameURI for Class type without looking in inheritance potential corresponding |
QName |
getElementTypeWithouInheritance(java.lang.Class type,
java.lang.String targetNamespace)
Get QName for Class type without looking in inheritance potential corresponding QName |
java.lang.Class |
getJavaType(QName qname,
java.lang.String targetNamespace)
Get Java Type for QName |
java.util.Hashtable |
getListJavaTypes()
Get the list of java types attached to the current SPecialized Registry |
java.util.Hashtable |
getListQName()
Get the list of QName attached to the current SPecialized Registry |
java.util.Hashtable |
getListSerializers()
Get the list of serializers attached to the current SPecialized Registry |
java.util.Hashtable |
getListUnSerializers()
Get the list of unserializers attached to the current SPecialized Registry |
java.lang.ClassLoader |
getRegistryClassLoader()
Get the Class Loader of the current Portal Service |
SOAPSerializer |
getSerializer(java.lang.Class type,
java.lang.String targetNamespace)
Gest Serializers for Java Type |
SOAPSerializer |
getSerializerWihoutInheritance(java.lang.Class type,
java.lang.String targetNamespace)
Gest Serializers for Java Type without looking in inheritance potential corresponding serializers |
IPortalSOAPConfig |
getSOAPConfig()
Get the SOAP Config attached to the current SPecialized Registry (Portal Service) |
void |
initXMLBased(java.lang.String serviceName,
java.lang.String pathForService,
java.lang.ClassLoader loader)
Init the specialized registry for the specified service |
boolean |
isPrimitive(java.lang.Class aClass)
is Primitive Java Type |
java.lang.Class |
loadClassInRegistry(java.lang.String classname)
Get a class contain in this specialized registry from the classname (with the package name) |
| Method Detail |
public SOAPDeserializer getDeserializer(QName qname,
java.lang.String targetNamespace)
qname - Qname to find serializer fortargetNamespace - namespace of the QName (optional since EP60 SP2)
public SOAPSerializer getSerializer(java.lang.Class type,
java.lang.String targetNamespace)
type - Type to find deserializer fortargetNamespace - namespace attach to the Class Type and Current context
public SOAPSerializer getSerializerWihoutInheritance(java.lang.Class type,
java.lang.String targetNamespace)
type - Type to find deserializer fortargetNamespace - namespace attach to the Class Type and Current context
public QName getElementType(java.lang.Class type,
java.lang.String targetNamespace)
type - the class to findtargetNamespace - namespace attach to the Class Type and Current contextpublic QNameURI getElementType(java.lang.Class type)
type - the class to find
public java.lang.Class getJavaType(QName qname,
java.lang.String targetNamespace)
qname - the QName to findtargetNamespace - (optinal since EP60 SP2)
public void initXMLBased(java.lang.String serviceName,
java.lang.String pathForService,
java.lang.ClassLoader loader)
throws java.lang.Exception
serviceName - the name of the servicepathForService - the path for the servce in the appication serverloader - the CLassLoader corresponding to the portal servicejava.lang.Exception - public boolean isPrimitive(java.lang.Class aClass)
aClass - class to identifypublic java.lang.Object createIntance(java.lang.Class clazz)
clazz - the class to instanciate
public QName getElementTypeWithouInheritance(java.lang.Class type,
java.lang.String targetNamespace)
type - the class to findtargetNamespace - namespace attach to the Class Type and Current contextpublic QNameURI getElementTypeWithouInheritance(java.lang.Class type)
type - type the class to findpublic java.lang.ClassLoader getRegistryClassLoader()
public java.lang.String getDefaultNamespace(java.lang.Class type)
type - the Java type to findpublic java.util.Hashtable getListSerializers()
public java.util.Hashtable getListUnSerializers()
public java.util.Hashtable getListJavaTypes()
public java.util.Hashtable getListQName()
public IPortalSOAPConfig getSOAPConfig()
public java.lang.Class loadClassInRegistry(java.lang.String classname)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||