jet.server.api.http
Class SendFileAuthorizorFactory

java.lang.Object
  extended by jet.server.api.http.SendFileAuthorizorFactory

public class SendFileAuthorizorFactory
extends java.lang.Object

This interface defines a factory to get a SendFileAuthorizor instance of an implementation class.


Constructor Summary
SendFileAuthorizorFactory()
           
 
Method Summary
static SendFileAuthorizor getInstance()
          Gets the SendFileAuthorizor instance by the implementation class of SendFileAuthorizor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendFileAuthorizorFactory

public SendFileAuthorizorFactory()
Method Detail

getInstance

public static SendFileAuthorizor getInstance()
Gets the SendFileAuthorizor instance by the implementation class of SendFileAuthorizor. If there is external SendFileAuthorizor, set the system property "com.jinfonet.sendfileAuth" with the external class name, otherwise there is default implementation of SendFileAuthorizor.

Returns:
the SendFileAuthorizor instance.
See Also:
SendFileAuthorizor