de.smartics.properties.admin.resources.controller
Class JndiResource

Package class diagram package JndiResource
java.lang.Object
  extended by de.smartics.properties.admin.resources.controller.JndiResource

@Path(value="")
public class JndiResource
     
     
extends Object

Provides access JNDI to edit properties.


Constructor Summary
JndiResource()
           
 
Method Summary
 JndiConfiguration getAsHtml()
          Provides information about the JNDI properties that may be used by smartics-properties.
 JndiConfiguration postAsHtml(String groupId, String artifactId, String version, String archiveType, String classifier, String cacheName, String dsName, String dsCreateTable, String dsDropTable, String securityKey, String securityAlgorithm, String securityProvider, String securityTransformation)
          Provides information about the JNDI properties that may be used by smartics-properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiResource

public JndiResource()
Method Detail

getAsHtml

@GET
@Path(value="/jndi")
@Produces(value="text/html")
public JndiConfiguration getAsHtml()
Provides information about the JNDI properties that may be used by smartics-properties.

Returns:
the HTML representation.

postAsHtml

@POST
@Path(value="/jndi")
@Produces(value="text/html")
public JndiConfiguration postAsHtml(@FormParam(value="groupId")
                                                       String groupId,
                                                       @FormParam(value="artifactId")
                                                       String artifactId,
                                                       @FormParam(value="version")
                                                       String version,
                                                       @FormParam(value="archiveType")
                                                       String archiveType,
                                                       @FormParam(value="classifier")
                                                       String classifier,
                                                       @FormParam(value="cacheName")
                                                       String cacheName,
                                                       @FormParam(value="dsName")
                                                       String dsName,
                                                       @FormParam(value="dsCreateTable")
                                                       String dsCreateTable,
                                                       @FormParam(value="dsDropTable")
                                                       String dsDropTable,
                                                       @FormParam(value="securityKey")
                                                       String securityKey,
                                                       @FormParam(value="securityAlgorithm")
                                                       String securityAlgorithm,
                                                       @FormParam(value="securityProvider")
                                                       String securityProvider,
                                                       @FormParam(value="securityTransformation")
                                                       String securityTransformation)
                             throws NamingException
Provides information about the JNDI properties that may be used by smartics-properties.

Parameters:
groupId - the application's group ID.
artifactId - the application's artifact ID.
version - the application's version.
archiveType - the application's archive type.
classifier - the application's classifier.
cacheName - the JNDI mapped name of the cache.
dsName - the JNDI mapped name of the data source.
dsCreateTable - flag to create the properties table.
dsDropTable - flag to drop the properties table.
securityKey - the security key.
securityAlgorithm - the security algorithm.
securityProvider - the security provider.
securityTransformation - the security transformation.
Returns:
the HTML representation.
Throws:
NamingException - on any problem setting properties.


Copyright © 2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.